package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.Express;

import java.util.List;
@DBMapper
public interface ExpressMapper {
    int insert(Express record);

    int insertSelective(Express record);

    List selectAllExpress();

    List selectAllUsedExpress();

    Express selectByExpressId(int expressId);

    void updateEOrders(List list);
    void updateDefault();
    List selectAllOfExpress(List list);

   List<Express> selectByCondition(Express page);

    Express selectByPrimaryKey(int id);

    int updateByPrimaryKeySelective(Express page);
}